package com.jerry.wschat.service;

import com.jerry.wschat.dao.AdminDao;
import com.jerry.wschat.model.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Jerry.Wu
 * @description:
 * @date 2018/9/12 19:39
 */
@Service
public class AdminServiceImpl extends BaseServiceImpl<Admin, Integer> implements AdminService {

    @Autowired
    private AdminDao mAdminDao;

    @Override
    public Admin findAdminByUsername(String username) {
        return mAdminDao.findAdminByUsername(username);
    }
}
